﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using T.AuditField;

namespace T.Vehicleservice.Domain.T.Vehicleservice.Model
{
    /// <summary>
    /// 事故记录
    /// </summary>
    public class AccidentRecord : AuditFields
    {
        /// <summary>
        /// 主键Id
        /// </summary>
        [Key]
        public int AccidentId { get; set; }
        /// <summary>
        /// 公司ID(全球唯一标识符,登录时存储,添加时赋值)
        /// </summary>
        public string? CompanyID { get; set; }
        /// <summary>
        /// 用户Id
        /// </summary>
        public int? User_Id { get; set; }
        /// <summary>
        /// 事故标题
        /// </summary>
        public string? AccidentTitle { get; set; }
        /// <summary>
        /// 车牌号
        /// </summary>
        public string? LicensePlateNumber { get; set; }
        /// <summary>
        /// 事发人
        /// </summary>
        public string? IncidentPerson { get; set; }
        /// <summary>
        /// 事故日期
        /// </summary>
        public DateTime? AccidentDate { get; set; }
        /// <summary>
        /// 保险公司赔偿
        /// </summary>
        public decimal? InsuranceIndemnify { get; set; }
        /// <summary>
        /// 公司净损失
        /// </summary>
        public decimal? CompanyLosses { get; set; }
        /// <summary>
        /// 事故描述
        /// </summary>
        public string? AccidentDesc { get; set; }
        /// <summary>
        /// 直接经济损失
        /// </summary>
        public string? EconomicLoss { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string? AccidentRemark { get; set; }
    }
}
